<!DOCTYPE html>
<html>

	<div id="test">
		qq
		<input value="1" />
	</div>
	<script>
		var elm = document.getElementById('test').nodeValue;

		console.log(elm)

		function test() {
			var a = b = 0;
		}

		test();

		console.log(b);

		var obj = {
			a : 1,
			b : 2
		}

		console.log(Object.getOwnPropertyNames(obj));
		console.log(Object.getOwnPropertyNames(Array.prototype));
		console.log("push" in Array.prototype)
		var tester = function(a, b, c) {
			console.log({
				'this' : this,
				a : a,
				b : b,
				c : c
			});
		};
		tester("a");
	</script>
</html>